body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

h1 {
    color: #333;
}

/* 定义滚动条的整体样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* 定义滚动条的轨道样式 */
::-webkit-scrollbar-track {
    background-color: #2a3844;
    border-radius: 4px;
}

/* 定义滚动条的滑块样式 */
::-webkit-scrollbar-thumb {
    background-color: #a8a8a8;
    border-radius: 4px;
}

/* 鼠标悬停在滚动条上时的滑块样式 */
::-webkit-scrollbar-thumb:hover {
    background-color: #c1c1c1;
}

.flex {
    display: flex;
    align-items: center;
}

.flexOnly {
    display: flex;
}

.flex_1 {
    flex: 1;
}

.flex_center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex_column_center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.flex_just_center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex_just_start {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.flex_just_end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.flex_sb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flex_sb_notalign {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flex_sb_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flex_end {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.flex_wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.flex_wrap_reverse {
    display: flex;
    align-items: center;
    flex-wrap: wrap-reverse;
}

.flex_wrap_nowrap {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.text_center {
    display: block;
    width: 100%;
    text-align: center;
}

.text_left {
    display: block;
    text-align: left;
}

.text_right {
    display: block;
    text-align: right;
}

.check_box {
    margin-left: 4px;
    padding-top: 4px;
}

.cursor_pointer {
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.flex_column {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.flex_column_reverse {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.block {
    display: block;
}

.inline {
    display: inline-block;
}

/* 内容全屏 */
.fullscreen-container {
    position: fixed !important;
    inset: 0 !important;
    z-index: calc(var(--el-z-index) + 3) !important;
    box-sizing: border-box !important;
    width: 100vw !important;
    height: calc(var(--vh, 1vh) * 100) !important;
    overflow: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
}

/* 数据大屏全屏 */
.vab-data-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    z-index: calc(var(--el-z-index) + 3) !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.ellipsis {
    display: -webkit-box;
    /* 将对象作为弹性伸缩盒子模型显示 */
    -webkit-box-orient: vertical;
    /* 设置伸缩盒子的子元素排列方式为垂直排列 */
    -webkit-line-clamp: 1;
    /* 显示的行数，这里是3行 */
    overflow: hidden;
    /* 超出部分隐藏 */
    text-overflow: ellipsis;
    /* 溢出文本显示省略号 */
}


.link {
    color: #409eff;
    cursor: pointer;
}


/* 表格滚动 自定义 */
.card-yq {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 0 10px;

    .card-yq-title {
        height: 42px;
        background-image: url('../assets/images/u246.svg');
        /* 替换为你的 SVG 文件路径 */
        background-repeat: repeat;
        margin-bottom: 12px;
        /* 实现平铺效果 */
    }

    .card-scroll {
        overflow: hidden;
        flex: 1;
    }

    .grid-title {
        height: 42px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        font-size: 12px;
    }

    .grid-title.grid-title-center {
        color: #f1f2f6;
        font-size: 12px;
        display: -webkit-box;
        text-align: center;
        height: 14px;
        /* 将对象作为弹性伸缩盒子模型显示 */
        -webkit-box-orient: vertical;
        /* 设置伸缩盒子的子元素排列方式为垂直排列 */
        -webkit-line-clamp: 1;
        overflow: hidden;
        /* 超出部分隐藏 */
        text-overflow: ellipsis;
        /* 溢出文本显示省略号 */
        margin-bottom: 4px;
    }
}